package org.procrastinationapp.business.services.aaa;

import java.util.List;

import org.procrastinationapp.business.entities.user.User;
import org.procrastinationapp.business.exceptions.aaa.IncorrectLoginException;

public interface AaaService {
	public User loginUser(String login, String password)
			throws IncorrectLoginException;

	public void changeUserPassword(String login, String currentPassword,
			String newPassword) throws IncorrectLoginException;

	public void addUser(User user, String password);
	
	public List<User> getUsers();

	public User getUser(String userId);

	public void saveUser(User user);

	public void removeUser(String login);
}
